package com.jic.market.response.rest.groupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author wj
 * @version V1.0
 * @description 拼团返回结果
 * @date 2020/4/2
 */


@ApiModel(description = "前端-拼团返回结果集")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupInfoFeignResponse implements Serializable {

    private static final long serialVersionUID = 2071625473549426423L;

    @ApiModelProperty(notes = "拼团活动编号")
    private String groupCode;

    @ApiModelProperty(notes = "活动图片")
    private String promPicUrl;

    @ApiModelProperty(notes = "活动名称")
    private String promName;

    @ApiModelProperty(notes = "活动开始时间戳")
    private Long startTimeStr;

    @ApiModelProperty(notes = "活动结束时间戳")
    private Long endTimeStr;

    @ApiModelProperty(notes = "活动开始时间字符串")
    private Date startTime;

    @ApiModelProperty(notes = "活动结束时间字符串")
    private Date endTime;

    @ApiModelProperty(notes = "成团人数")
    private Integer groupMembers;

    @ApiModelProperty(notes = "活动备注")
    private String remark;

    @ApiModelProperty(notes = "商品详情")
    GroupProductResponse groupProductResponse;

}
